"ui";
ui.layout(
    <vertical>
        <text text="链接" paddingLeft="10dp" w="25dp" textSize="16dp" />
    </vertical>
)

ui.emitter.on("create", e => {
    log("create:" + e);
});
ui.emitter.on("save_instance_state", e => {
    log("save_instance_state:" + e);
});
ui.emitter.on("back_pressed", e => {
    log("back_pressed:" + e);
});
ui.emitter.on("pause", e => {
    log("pause:" + e);
});
ui.emitter.on("resume", e => {
    log("resume:" + e);
});
ui.emitter.on("restore_instance_state", e => {
    log("restore_instance_state:" + e);
});
ui.emitter.on("key_down", e => {
    log("key_down:" + e);
});
ui.emitter.on("generic_motion_event", e => {
    log("generic_motion_event:" + e);
});
ui.emitter.on("activity_result", e => {
    log("activity_result:" + e);
});
ui.emitter.on("options_item_selected", e => {
    log("options_item_selected:" + e);
});
